#!/usr/bin/env bash

curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/getBindDevicesInfo -d '{"pageNum": 1, "pageSize": 5, "email": "agoncalves@live.co.uk"}'
curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/getBindDevicesInfo -d '{"pageNum": 1, "pageSize": 5, "wifiId": "8650051000200030003000000887dd8cc771"}'
curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/getBindDevicesInfo -d '{"pageNum": 1, "pageSize": 2, "puid": "pu000098650051000200030003000000887dd8cc771"}'

curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/getBindDevicesUpgradeResult -d '{"pageNum": 1, "pageSize": 10, "email": "agoncalves@live.co.uk"}'
curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/getBindDevicesUpgradeResult -d '{"pageNum": 5, "pageSize": 10, "puid": "pu000098650051000200030003000000887dd8cc771"}'

curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/getBigdataBindRelations -d '{"pageNum": 1, "pageSize": 5, "email": "danesjenoc@gmail.com"}'


# Clickhouse
curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/queryJulinkLogs -d '{"wifiId": "8650061000400040001000000694c572918c", "logTime": 1734680649000}'
curl   -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR"  -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/fetchPairResult -d '{"pageNum": 1, "pageSize": 100, "email": "ypinevich@gmail.com"}'

curl  -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/fetchPairDetail -d '{"pageNum": 1, "pageSize": 1, "pairid": "50a1d9e0-5f8b-11a8-be75-ad4855bda8b8"}'

curl  -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/fetchCDCAccountInfo -d '{"pageNum": 1, "pageSize": 2, "email": "wycuc@mailto.plus"}'

curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/fetchWifistatusByWifiId -d '{"pageNum": 1, "pageSize": 2, "wifiId": "8650051000200030003000000887dd8cc771"}'
curl  -H "Token:DB1JM4NK6UNUR2X3DE5G7FRT84GEJSAR" -H "content-type:application/json" -XPOST http://localhost:5813/aosp/v1/fetchWifistatusByWifiId -d '{"pageNum": 2, "pageSize": 2, "email": "danesjenoc@gmail.com"}'